package Util;

import java.io.Serializable;
import java.util.Enumeration;
import java.util.List;

import javax.faces.context.FacesContext;
import javax.servlet.annotation.WebListener;
import javax.servlet.http.HttpSessionBindingEvent;
import javax.servlet.http.HttpSessionBindingListener;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

import Model.SanPham;
import bean.BeanBanHang;
@WebListener

public class mySessionListener implements Serializable, HttpSessionListener{

	@Override
	public void sessionCreated(HttpSessionEvent event) {
		System.out.println("session is created");
		
	}

	@Override
	public void sessionDestroyed(HttpSessionEvent event) {
		System.out.println("session is detroyed!");
	}
    
}
